const mongoose = require('mongoose');
mongoose.connect('mongodb://6_group:ZiCJHssm2eMhJeKR@47.93.249.122:27017/6_group')
    .then(() => {
        console.log('connected to db');
    })
    .catch((err) => {
        console.log(err);
    })
module.exports = mongoose;